package org.hyl.javabase.dao;

import java.sql.Connection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface IBaseDao {
  void setView(String viewname);
  List<?> select(String[] columns);
  List<?> select(String sql);
  boolean delete(int id);
  int update (HashMap<?, ?> s,String where);
  int insert(HashMap<?, ?> row);
  int inserts(List<HashMap> row);
  boolean conn();
  Connection getConn();
  boolean close();
  List<Map<String, Object>> select(String sql, Object[] ps);
}
